package com.hcy.manager;

import com.hcy.manager.dto.request.CarInfoAddRequestDTO;
import com.hcy.manager.dto.request.CarInfoRequestDTO;
import com.hcy.manager.dto.request.CarLevelRequestDTO;
import com.hcy.manager.dto.request.CarTypeRequestDTO;
import com.hcy.manager.dto.response.CarInfoResponseDTO;
import com.hcy.manager.dto.response.CarLevelResponseDTO;
import com.hcy.manager.dto.response.CarTypeResponseDTO;
import com.hcy.rabbitbasicmodel.dto.MyPage;

import java.util.List;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/4/27
 **/
public interface CarInfoBz {
    MyPage<CarInfoResponseDTO> getCarList(CarInfoRequestDTO requestDTO);

    void updateCarStatus(CarInfoRequestDTO requestDTO);

    CarInfoResponseDTO insertOrUpdate(CarInfoAddRequestDTO requestDTO);

    void deleteCarType(CarTypeRequestDTO requestDTO);

    List<CarTypeResponseDTO> getCarTypeList();

    CarTypeResponseDTO insertOrUpdateCarType(CarTypeRequestDTO requestDTO);

    void deleteCarLevel(CarLevelRequestDTO requestDTO);

    List<CarLevelResponseDTO> getCarLevelList();

    CarLevelResponseDTO insertOrUpdateCarLevel(CarLevelRequestDTO requestDTO);

}
